loadFromURL

abstract suspend fun loadFromURL(url: Uri): List<DesignBlock>

Loads existing blocks from a URL.

The URL should point to a blocks file within an unzipped archive directory previously saved with saveToArchive. The blocks are not attached by default and won't be visible until attached to a page or the scene. The UUID of the loaded blocks is replaced with a new one.

Return

a list of loaded blocks.

Parameters

url

the URL to the blocks.blocks file.